import api from './index'

// 医师端接口
export default {
  // 获取医师基本信息
  fetchDoctorInfo: (params) => api.get('/ba/doctor/getDoctorInfo', params),
  // 查询医师 擅长领域 type：1 / 职称 type：2 标签
  fetchTagList: (params) => api.get('/ba/tag/list', params),
  // 添加医师标签
  addTag: (params) => api.post('/ba/tag', params),
  // 更新医师基本信息
  updateUserInfo: (params) => api.put('/ba/user', params),
  // 更新医师信息
  updatePhysicianInfo: (params) => api.post('/ba/doctor/updateDoctorInfo', params),
  // 获取最近患者
  fetchMedicinesList: (params) => api.get('/ba/case/getMedicinesList', params),
  // 患者详情
  fetchMedicinesDetail: (params) => api.get('/ba/case/getMedicineDetail', params),
  // 获取个人中心数据
  fetchNumber: (params) => api.get('/ba/doctor/getList', params),
  // 获取计划列表
  fetchPlanList: (params) => api.get('/ba/plan/getRecoveryPlan', params),
  // 新增训练计划
  addPlan: (params) => api.post('/ba/plan', params),
  // 新增评估报告
	addReport: (params) => api.post('/ba/report', params),
  // 消息列表
  fetchMessageList: (params) => api.get('/ba/tipnews/list', params)
}